home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-15 | 4.6 KB | 152 lines | [TEXT/ttxt] |
- ABOUT THINK CLASS LIBRARY 1.1.2
- ===============================
- Copyright © 1992 Symantec Corporation. All rights reserved.
- January 9, 1992
- Font: Geneva 12
-
- INTRODUCTION
- =============
- The THINK Class Library 1.1.2 fixes some bugs in the THINK Class Library
- 1.1, included with THINK Pascal 4.0.
-
- This document has two more sections:
-
- • UPDATING THINK CLASS LIBRARY tells you how to run
- “TCL/Pascal 1.1.2 Update.sea” to update your THINK Class
- Library to 1.1.2.
-
- • LAST MINUTE CHANGES contains a correction to the Object-
- Oriented Programming Manual.
-
-
- UPDATING THINK CLASS LIBRARY
- ==============================
- The application “TCL/Pascal 1.1.2 Update.sea” transforms your existing
- THINK Class Library from version 1.1 to 1.1.2. It replaces 25 files in the
- THINK Class Library. For a list of the files, see “What this update replaces”
- below. This update uses a self-extracting archive, an application that
- contains compressed files which it decompresses and installs on your hard
- disk.
-
- 1. Make sure that you have a copy of the original THINK Class
- Library. You won't need it for this update, but you should make
- sure that you have a backup in case the update fails. Do not
- patch your original master disk.
-
- 2. Make sure that you haven’t changed the names of any of the
- folders. If the update can’t find a folder with exactly the right
- name, it will create a new folder to put its files in, and it
- won’t update your files. Most importantly, the folder containing
- all the TCL files must be named “THINK Class Library 1.1” and
- the folder containing the TCL demos must be named “TCL 1.1
- Demos”.
-
- 3. Double-click on the the application “TCL/Pascal 1.1.2
- Update.sea.” A dialog appears summarizing what this program
- does. Click anywhere to continue.
-
- 4. A standard file dialog appears. Move to your Development folder
- and click Extract.
-
- 5. A dialog appears telling you that CButton.p already exists.
- Click “Replace ALL Duplicates.”
-
- 6. The archive decompresses its files and places them on your hard
- disk. It displays its progress in a dialog. The archive quits
- when it’s done.
-
-
- WHAT THIS UPDATE REPLACES
- ===========================
- This update replaces 25 files in the THINK Class Library. Two are
- documentation files, two are code files in the NewClassDemo, and 21 are
- code files in the THINK Class Library.
-
- Here are the 21 code files in the “THINK Class Library 1.1” folder, organized
- by folder.
-
- In the “Control classes” folder:
- • CButton.p
- • CIconPane.p
- • CPopupMenu.p
- • CStdPopupPane.p
- • TCL_Controls.p
- • CPopupPane.p
-
- In the “Core classes” folder
- • CAbstractText.p
- • CAppleEvent.p
- • CApplication.p
- • CArray.p
- • CCluster.p
- • CControl.p
- • CDirector.p
- • CEditText.p
- • CObject.p
- • CPane.p
- • CPaneBorder.p
- • CPanorama.p
- • CPrinter.p
- • CRunArray.p
- • CSizeBox.p
- • CWindow.p
- • TCL.p
- • CDocument.p
- • CDesktop.p
-
- In the “Dialog classes” folder:
- • CDialog.p
- • CDLOGDialog.p
- • TCL_Dialogs.p
- • CDialogText.p
-
- In the “FW/Tearoffs” folder:
- • CFWDesktop.p
- • CMenuDefProc.p
-
- In the “Table classes” folder:
- • CArrayPane.p
- • CTable.c
- • TCL_Table.c
-
- In the “TCL Libs” folder:
- • Exceptions.c
- • TCL.lib
- • TCL.π
-
- LAST MINUTE CHANGES
- ====================
- This section lists some last minute changes and corrections to the THINK
- Pascal Object-Oriented Programming Manual. There are more changes and
- corrections in the READ ME file in the “TCL 1.1 Doc” folder.
-
- Installing the THINK Class Library
- -------------------------------
- • After buidling Starter.π, its size is about 2 megabytes. The size given in
- the section “Building the Starter Project” is incorrect.
-
- CDataFile
- ---------
- • On page 265, the example for ReadAll() should look like this, in C:
- Handle theData;
- . . .
- theData = myDataFile->ReadAll();
- . . .
-
- And it should look like this in Pascal:
- var
- theData: Handle;
- begin
- . . .
- theData = myDataFile.ReadAll;
- . . .
- end;
-
- CPanorama
- ----------
- • On page 375, the declaration for the ScrollTo method should look like
- this, in C:
- void ScrollTo( LongPt *aPosition, Boolean redraw );
-
- And like this, in Pascal:
- procedure ScrollTo( aPosition: LongPt; redraw: Boolean );